<form action="{action}" method="post">
<table border="0" id="table13" cellspacing="0" cellpadding="3">
	<tr>
		<tr>
			<td colspan="2" bgcolor="#5A79C6" align="center">
			<font color="#FFFFFF">一肖</font></td>
		</tr>
		<td valign="top">
		<table id="table16" cellSpacing="1" cellPadding="3" border="0">
			<tr>
				<td bgColor="#c0d6eb">
				<div align="center">
				鼠</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_1" value="{r21_1}">
					<input type=button value=- onclick=m1(r21_1,-0.01)>
					<input type=button value=+ onclick=m1(r21_1,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				牛</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_2" value="{r21_2}">
					<input type=button value=- onclick=m1(r21_2,-0.01)>
					<input type=button value=+ onclick=m1(r21_2,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				虎</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_3" value="{r21_3}">
					<input type=button value=- onclick=m1(r21_3,-0.01)>
					<input type=button value=+ onclick=m1(r21_3,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				兔</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_4" value="{r21_4}">
					<input type=button value=- onclick=m1(r21_4,-0.01)>
					<input type=button value=+ onclick=m1(r21_4,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				龙</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_5" value="{r21_5}">
					<input type=button value=- onclick=m1(r21_5,-0.01)>
					<input type=button value=+ onclick=m1(r21_5,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				蛇</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_6" value="{r21_6}">
					<input type=button value=- onclick=m1(r21_6,-0.01)>
					<input type=button value=+ onclick=m1(r21_6,0.01)></td>
			</tr>
			<tr>
				<td bgColor="#c0d6eb">
				<div align="center">
				马</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_7" value="{r21_7}">
					<input type=button value=- onclick=m1(r21_7,-0.01)>
					<input type=button value=+ onclick=m1(r21_7,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				羊</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_8" value="{r21_8}">
					<input type=button value=- onclick=m1(r21_8,-0.01)>
					<input type=button value=+ onclick=m1(r21_8,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				猴</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_9" value="{r21_9}">
					<input type=button value=- onclick=m1(r21_9,-0.01)>
					<input type=button value=+ onclick=m1(r21_9,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				鸡</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_10" value="{r21_10}">
					<input type=button value=- onclick=m1(r21_10,-0.01)>
					<input type=button value=+ onclick=m1(r21_10,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				狗</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_11" value="{r21_11}">
					<input type=button value=- onclick=m1(r21_11,-0.01)>
					<input type=button value=+ onclick=m1(r21_11,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				猪</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r21_12" value="{r21_12}">
					<input type=button value=- onclick=m1(r21_12,-0.01)>
					<input type=button value=+ onclick=m1(r21_12,0.01)></td>
			</tr>
		</table>
		</td>
		<td valign="top">
		</td>
	</tr>
</table>
<br>
<table border="0" id="table13" cellspacing="0" cellpadding="3">
	<tr>
		<tr>
			<td colspan="2" bgcolor="#5A79C6" align="center">
			<font color="#FFFFFF">尾数</font></td>
		</tr>
		<td valign="top">
		<table id="table16" cellSpacing="1" cellPadding="3" border="0">
			<tr>
				<td bgColor="#c0d6eb">
				<div align="center">
				1 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_1" value="{r22_1}">
					<input type=button value=- onclick=m1(r22_1,-0.01)>
					<input type=button value=+ onclick=m1(r22_1,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				2 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_2" value="{r22_2}">
					<input type=button value=- onclick=m1(r22_2,-0.01)>
					<input type=button value=+ onclick=m1(r22_2,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				3 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_3" value="{r22_3}">
					<input type=button value=- onclick=m1(r22_3,-0.01)>
					<input type=button value=+ onclick=m1(r22_3,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				4 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_4" value="{r22_4}">
					<input type=button value=- onclick=m1(r22_4,-0.01)>
					<input type=button value=+ onclick=m1(r22_4,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				5 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_5" value="{r22_5}">
					<input type=button value=- onclick=m1(r22_5,-0.01)>
					<input type=button value=+ onclick=m1(r22_5,0.01)></td>
			</tr>
			<tr>
				<td bgColor="#c0d6eb">
				<div align="center">
				6 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_6" value="{r22_6}">
					<input type=button value=- onclick=m1(r22_6,-0.01)>
					<input type=button value=+ onclick=m1(r22_6,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				7 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_7" value="{r22_7}">
					<input type=button value=- onclick=m1(r22_7,-0.01)>
					<input type=button value=+ onclick=m1(r22_7,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				8 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_8" value="{r22_8}">
					<input type=button value=- onclick=m1(r22_8,-0.01)>
					<input type=button value=+ onclick=m1(r22_8,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				9 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_9" value="{r22_9}">
					<input type=button value=- onclick=m1(r22_9,-0.01)>
					<input type=button value=+ onclick=m1(r22_9,0.01)></td>
				<td bgColor="#c0d6eb">
				<div align="center">
				0 尾</td></div>
				<td bgColor="#e7ebef">
				<input size=5 name="r22_10" value="{r22_10}">
					<input type=button value=- onclick=m1(r22_10,-0.01)>
					<input type=button value=+ onclick=m1(r22_10,0.01)></td>
			</tr>
		</table>
		</td>
		<td valign="top">
		</td>
	</tr>
</table>
<input type="submit" value="确定更改">
<input type="button" value="重读" onclick="location.replace('{action}')">
</form>

<script>
function m1(o,d)
{
	var i = o.value - 0 + d;
	o.value = fixstr(i);
}

function fixstr(num) {
	var numv=num-0;
	var sign=(numv>=0?1:-1); // Will give 1 for num=0
	var numabs=numv*sign;
	var naint=Math.floor(numabs);
	var nacent=Math.round((numabs-naint)*100);
	if (nacent>=100) {nacent=0; naint++;}
	var nais=''+naint;
	var nacs=(nacent<10?'0':'')+nacent;
	if (naint+nacent==0) sign=1;
	return (sign==1?'':'-')+nais+'.'+nacs;
}

</script>